const {sequelize} = require("./db")
const {DataTypes} =require("sequelize")

const classInfo = sequelize.define("classInfo",{
    className:{
        type: DataTypes.STRING,
        allowNull: false
    },
    classPeople:{
        type: DataTypes.INTEGER,
        allowNull: false
    }
},{
    createdAt:false,
    updatedAt:false,
    paranoid:true,
    freezeTableName: true
})
exports.classInfo = classInfo